Maine’s hospitality and agricultural industries in particular rely on visa workers.