Costco Wholesale has argued in court for the right to buy directly from out-of-state wineries and breweries in Washington.