The federal lawsuit challenges Trump’s legal authority to impose broad, unilateral trade barriers under the guise of a national emergency.