The 81-year-old president’s ability to beat Trump again in a hypothetical rematch was cast into doubt last month, after a New York Times poll projected his loss in key swing states.