Gaia and Hubble Unveil the Kinematics of Stellar Populations in the Type II Globular Clusters ω Centauri and M22