Flow thresholds for leaf retention in hydrodynamic wakes downstream of obstacles