Federer reflected on his storied career in a speech that brought him ‌to tears a few times