A federal judge has thrown out a bid to allow grocery stores to sell cold beer in the US state of Indiana, according to reports.