Deepening global rifts will be an undercurrent at this week’s gathering of the world’s largest economies.