The 22-year-old was about to lose the third set when he destroyed his racket on the court