New Mexico led the states in the lawsuit, which was filed in Washington, D.C., and alleged Musk’s far-reaching authority as head of DOGE is unconstitutional.