Benign landscapes of low-dimensional relaxations for orthogonal synchronization on general graphs