G20 foreign and development ministers agreed to boost efforts to fight hunger and climate change but there was discord over vaccine policy.