The Times has been embroiled in several major lawsuits against Donald Trump and the federal government since the president’s return to the White House last year.