U.S. tariffs have strained the G20’s multilateral foundations and complicated South Africa’s efforts — as this year’s rotating president — to keep the group’s agenda on course.