New factorized off-shell prescription for the distorted-wave impulse approximation in knockout reactions