Markram leads SA to T20 win over Pakistan