Stochastic elastohydrodynamics of soft valves