Naturally, all the yeast individuals in your population have slight genetic variations. Maybe millions of them. Most have your plasmid to make X.
Due to natural selection, the competing priority—let's call it the "Y" product—is reproducing * surviving as much as possible. The yeast genes that make the yeast reproduce as much as possible and survive as well as possible will eventually be the largest population in your reactor.
So if X doesn't also achieve Y, the only thing that will be left in your reactor is a population that achieves Y.
The worst thing (which is true most of the time) is that achieving X is opposed to Y. Processing some chemical in the media that doesn't translate to food for the organism is wasted metabolic resources. So for most applications you can think of, your X population will die or reproduce away its X genes.
There's nothing you can parameterize to fix this! Like Y will happen regardless of what temperatures you use, or what media you use, or how much oxygen you give the reactor. By virtue of growing something, you're optimizing for Y. Either design X to also achieve Y, or fail. Evolution is opposed to you, not on your side!
In practice today, we don't understand the biological systems design well enough to make X also achieve Y. So what happens is you grow the yeast until you have a population with maximum metabolic efficiency (i.e., maximally achieves Y), and THEN modify the yeast to do X. It dies quickly, and your left with a little bit of product. This works, but it's not viable.