Canonical planetary perturbation equations for velocity-dependent forces, and the Lense-Thirring precession