World leaders are discussing high food and energy costs, boosted by Russia’s war in Ukraine, at the G20 summit in Bali.