Hydrodynamics of non-equilibrium soil water retention