A federal judge dismissed a lawsuit brought by two conservative groups intended to halt the Biden administration’s plan to cancel $39 billion in student loans for more than 800,000 borrowers.