The court’s move could jeopardize New York Attorney General Letitia James’ ongoing efforts to sue the demonstrators in federal court for allegedly harassing and intimidating patients.