NUUK, Greenland — Greenland’s parliament passed a bill Tuesday that bans political parties from receiving contributions “from foreign or anonymous contributors” after President Donald Trump expressed his wish that the United States take over the vast and mineral-rich Arctic island that belongs to Denmark.