The Justice Department’s lawsuit alleges that the Idaho law conflicts with a federal statute requiring hospitals to provide adequate emergency care.