Stocks at U.S. wholesalers contracted in December, with the fall driven by inventories of longer-lasting goods, government data said.