A 2014 handwritten note by Aretha Franklin that was found under a sofa cushion has been ruled to be her valid final will.