You only pay capital gains taxes when you realize gains, not every year.
Trump would pay 15% of $20B = ~$3B, so his net worth would be $17B. And this is assuming that his stock investments don't pay qualified dividends that are reinvested. So, yeah, he'd have much more than $12B.