South Africa’s case against Israel’s actions in Gaza has boosted its international standing and secured its position as the moral voice of the Global South