Xi Jinping and nationalistic Chinese see recent U.S. actions as an effort to contain another superpower rather than compete with it — and they’re pushing back.