Washington’s increasing focus on Beijing is straining the decades-old alliance between South Korea and the United States.