Degree-optimal moving frames for rational curves