Generalized Damour-Navier-Stokes equation applied to trapping horizons