South Africa’s rand is on a weekly winning run not seen in more than two decades as elevated precious-metal prices and an improving economic backdrop drive gains.