Maryland’s Democratic attorney general said he would appeal a court order to redraw a congressional district found to disadvantage Republicans, increasing the odds of a new Supreme Court battle over legislative maps that could reshape political lines before the 2020 elections.