John Kerry’s biography was central to his campaign.