Etsy is laying off 11% of its workforce and restructuring its business amid a “very challenging” macro and competitive environment.