No. Neither.
The vilage people are not refusing entry to people on the basis of their ethnicity - which would be racist , or their country of origin - which would be xenophobic.
The reasons for refusal are based on the detrimental effect that large numbers of visitors are having, on the habbitat, and the people themselves, so they have rejected all visitors, except those who have specific invitations, so no, they are not being racist or xenophobic.
The only logical way such a question would even be considered, much less asked, would be if anyone saw the whole world in terms of ethnicity, which fortunately, the whole world does not.
Only some people, and they know who they are, and they provide evidence their narrow-minded and obsessive approach on a regular basis.