I'm not sure how likely it is to when the incumbent empire and the aspiring one are both armed to the tits, neither of which will give up on their claim or their military. Even without confrontation they'll both keep force projecting. I think we just gotta hope there's mutual resistance to any physical escalation, either direct or by proxy, and that the competition remains economical and technological. Turns out even tying the economies to the hip is not an insurance against fighting when those ties turn into weapons in an escalation.
Or, most likely (of the options I've suggested), the next leaders care more about peace than the current ones.
Similarly, the Taiwan conflict is not "US vs China". It's "the people of Taiwan vs the CCP" (possibly "vs the people of China" though it's hard to say in a country without democracy). There's no question about how the Taiwanese feel; they vote on it every few years in free elections. Americans are mere supporting cast. We have our opinions, but if the Taiwanese all voted to embrace Xi, we'd shake our heads and walk away.
The status quo favors Taiwan. Xi knows this, but without actually going through the process of building a huge navy and launching a military invasion, the de-facto result is that Taiwan continues to be an independent nation. Another couple generations and even China will forget about the big island across the sea. I'm fine with that.
The stalemate will probably last a long time.