Towards High-Fidelity On-Board Attitude Estimation for Legged Locomotion via a Hybrid Range and Inertial Approach