Leaders arriving at the G20 summit must grapple with tensions over the wars in Gaza and Ukraine, and shifts in the global order with the return of Donald Trump.