Glenn Maxwell produced one of the performances of his career, a match-winning 96 off 83 balls, to guide Australia to a three-wicket win over India at the MCG.