Barty is retiring only two months after winning the Australian Open, saying she wants to pursue other dreams.