A shrinking Japan worries about its people leaving—but not about foreigners coming in