The court ruled that the Manhattan district attorney can get Trump’s financial records—but not congressional investigators.