The G7 has issued a warning to China that it may face penalties due to its backing of Russia’s war efforts