Members of the International Longshoremen’s Association could walk off the job, halting most shipments at East and Gulf Coast ports and rattling the U.S. economy.