Preventing the entry of something that can be made into a weapon is justified, yes. If you want to call that “starving children”, that’s up to you.
Withholding food from children results in children starving. It’s not semantics.
Only in the same way that pointing at a starving infant as a prop is a moral justification for using food meant for the infant instead to manufacture weapons.