ENFORCE: Exact Nonlinear Constrained Learning with Adaptive-depth Neural Projection