The owner of Saks Fifth Avenue is converting parts of department stores into co-working spaces with WeWork, a strategy that marries the popularity of remote work with the struggles of bricks-and-mortar retail.