Topological Insulator in Two Synthetic Dimensions Based on an Optomechanical Resonator