Victories projected for Macron’s party show it’s possible to reinvigorate a nation’s politics