A spectral estimate for the Dirac operator on Riemannian flows