Josh Inglis scored an unbeaten 120 as Australia chased down 352, the highest in Champions Trophy history, to beat England.