Justice Clarence Thomas was the sole dissenter from the high court’s refusal to reinstate, pending appeal, a Missouri law that effectively bars local government cooperation in enforcing federal gun-control laws.