An Inverse Design Framework for Isotropic Metasurfaces Based on Representation Learning