For years, Japanese leaders have tried to halt the country’s falling birthrate. They might find lessons in the city of Akashi, whose population has been growing.