The 81-year-old president said he’s bowing out after remaining defiant for weeks in the face of calls to withdraw from the 2024 race.