As the US president turns on South Africa it is time to take a wider view of domestic complicity with his racism