The lawsuits claim that Mr. Trumpโs power to restrict entry does not allow him to override the law that created the H-1B visa program.