Injured Wawrinka ends his 2018