The US president’s leaked chat with Philippine leader sends different messages to China and Japan – and not only about the location of US nuclear submarines