Structure-preserving numerical methods for constrained gradient flows of planar closed curves with explicit tangential velocities