Learning Distributions on Manifolds with Free-form Flows