iKap: Kinematics-aware Planning with Imperative Learning