A federal judge in New York said President Trump's proclamation invoking the Alien Enemies Act exceeded the scope of the law.