The U.S., a close ally of Japan, is seeking to strengthen its ties with Tokyo but also stabilize its relationship with Beijing ahead of a likely trip by Mr. Trump to China in April