Despite differences in priorities, the two powers have come together to deal with Pyongyang’s challenge, analysts say