Brandon King's half-century propelled the West Indies to a 28-run victory over South Africa in their T20 International at Sabina Park, Kingston, Jamaica.