Wayfair posted a wider-than-expected fourth-quarter loss.