The far-right AfD, leading in some polls, has campaigned aggressively against immigrants in elections in Thuringia, Saxony, and Brandenburg. But those states also depend on immigrant labor.