Harvard University told a judge it has a trove of internal Trump administration documents that show the White House directed the abrupt freezing of more than $2 billion in federal funds headed to the university’s research programs, in violation of federal law.