Takaichi aims to boost Japan’s economy and military capabilities as tensions grow with China and she tries to nurture ties with the United States.