A left leg injury forced Novak Djokovic to retire from his Australian Open semifinal match against Alexander Zverev, leading fans to boo him as he left the court.