In many ways, France was primed for a right-wing populist to win power: beyond having been hit hard by the eurozone crises of the past decade, voters have lately faced a wave of terrorist attacks. But the French displayed a level of political maturity and intelligence that others might rightly envy.