Lipschitz regularity in Flow Matching and Diffusion Models: sharp sampling rates and functional inequalities