Optomechanical Self-Stability of Freestanding Photonic Metasurfaces