TOKYO — Japan sounded the alarm Tuesday on rising security threats in Northeast Asia, warning in a government report of a potential military confrontation with China over maritime disputes, as well as a North Korean weapons program that appeared intent on producing longer-range nuclear missiles.