Ashleigh Barty, the No. 1 women’s tennis player in the world, has announced her retirement from the sport at 25 years old.