G20 leaders failed to break a deadlock in UN climate talks at a summit in Rio that was dominated by divergences over Ukraine war and Trump's return to the White House.