Babar masterclass powers Pakistan to 9-wicket win over Proteas in high-scoring T20