The president has also relaxed the pressure on China in return for its help in curbing North Korea, which has prompted concerns among Vietnam and its neighbors that the United States might not be as quick to thwart Beijing’s territorial ambitions in the South China Sea.