An adviser on education policies to Japan’s right-wing government has sparked a furore by recommending that immigrants in the world’s third-largest economy be separated by race.