Glenn Maxwell scores an unbeaten 62 from 36 balls to help Australia beat South Africa by two wickets in the decider and win the three-match T20 series 2-1.