Barycenteric distribution alignment and manifold-restricted invertibility for domain generalization