A federal judge on Friday blocked Connecticut from enforcing key parts of a new state law that sought to ban…