CEO Josh Silverman’s purpose-driven turnaround at Etsy made the company profitable and improved its social and environmental impact.