A question on Massachusetts voters’ ballots promising to create more small homes would have its biggest impact in a subset of towns.