Japan must address legitimate public worries without inflaming xenophobia — or risk populist backlash.