Dangerous Chinese maneuvers and a fraught security environment are bringing the U.S. and allied navies closer together.