A second-order length-preserving and unconditionally energy stable rotational discrete gradient method for Oseen-Frank gradient flows