South Africa’s powers of diplomacy will be tested this year as it leads the G20 group of major economies amid a rise in geopolitical tensions.