After two decades of economic malaise, Japan appears to have regained its economic vigor just when it needs it most. As it embarks on an ambitious military build-up to meet the mounting threat posed by China’s geopolitical ambitions, it is also seeking to establish itself as a leader among Asian democracies.