Whenever in the opinion of the President of the United States, a threatened or actual strike or lockout affecting an entire industry or a substantial part thereof engaged in trade, commerce, transportation, transmission, or communication among the several States or with foreign nations, or engaged in the production of goods for commerce, will, if permitted to occur or to continue, imperil the national health or safety, he may appoint a board of inquiry to inquire into the issues involved in the dispute