Jannik Sinner rallied past Daniil Medvedev in five sets to win the Australian Open and claim his first career Grand Slam title.