Nadal, who has won 22 Grand Slams. will retire after this week’s Davis Cup Finals in Malaga