a/math: Add math_quat_decompose_swing_twist()
Decomposes a quaternion into two orthogonal rotations that
consist of the swing perpendicular to an axis and the
rotation (twist) around that axis.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188>
authored by