After delivering rugs, ping pong tables and cookware items to millions of homebound customers, Boston-based Wayfair furnished what investors have long sought: a profit.