Yes but if legislation in enacted at the state level he'll have no control over it. And that is exactly what some of those states are looking into.
It's not clear to what extent the states have authority over this. There's obviously lots of federal money involved in the construction and operation of U.S. ports. Since it involves international shipping, there may be serious limits to what restrictions states can put on it. For example, I don't think any state has legal authority to block airlines operated by certain foreign governments from using our international airports.