Learning Distributions on Manifolds with Free-Form Flows