Australia all-rounder Glenn Maxwell has announced his retirement from international cricket, ending a career that spanned more than a decade…