Madison Keys battled past Aryna Sabalenka in a three-set Australian Open final thriller to claim her first Grand Slam title.