Russia’s state-backed gas supplier has had a key European contract terminated in a blow to Vladimir Putin’s war economy.