SA wins UN Security Council seat