John McCain’s gift to his daughter was a lesson in resilience