The judge temporarily barred USAID from putting 2,200 workers on paid leave after employee groups filed a lawsuit challenging the administration’s authority to shut down the agency.