Even if Russia gets all of it's demands in the peacemaking process with Ukraine, that war has done permanent and lasting damage to it's economy and global position. For China to attack Taiwan, it would give up any hope of continuing it's healthy trends towards increased economic and political importance.
Eventually, Taiwan will re-join China when it is sufficiently strong. It's symbolism as a continued humiliation by the west is more useful as propaganda than an actual military target.