With Putin’s invasion of Ukraine, the world order has been upended – and South Africa needs to think carefully about how it positions itself