Hungary’s voters turned against the poster boy of the national conservative movement.