A proposal that would allow municipalities to require payments from wealthy nonprofits, in lieu of taxes, is catching heat from Massachusetts nonprofit associations.