Resonant Laser Printing of Optical Metasurfaces