Japans nya premiärminister har sagt att hon föredrar att låta sin befolkning och ekonomi krympa i stället för att släppa in invandrare.