He helped get the Greens into government, but Putin’s war threw everything he stood for into question