A Japanese politician hoping to be the next prime minister says the country should review its non-nuclear stance in light of North Korea.