Early results from GLASS-JWST. V: the first rest-frame optical size-luminosity relation of galaxies at $z>7$