Djokovic could have retired a villain, but he lived long enough to become a hero