Josh Inglis has posted his maiden ODI century as Australia bludgeoned the largest total in Champions Trophy history to pull off a spectacular five-wicket win over arch rivals England in Lahore.