A Whole-Body Disturbance Rejection Control Framework for Dynamic Motions in Legged Robots