President Emmanuel Macron’s plan to raise the retirement age from 62 to 64 unleashed months of mass protests from January to June 2023 that damaged his leadership.