High-mass Star Formation through Filamentary Collapse and Clump-fed Accretion in G22