Activity requires stability, but stability is not sufficient for activity. I'm a bit confused by your statement that you can measure enzyme activity by measuring folding, because again, while an enzyme generally needs to be folded to be active, that is not sufficient- you also need the right arrangement of chemical groups at the active site. I've seen people use enzyme activity assays to estimate the progress of a folding reaction (because, as I've said, most enzymes need to be folded to be active), but I've never seen the converse done- i.e., I've never seen anyone use a folding assay to measure enzyme activity.
Intuitively, I'd expect more stable proteins to have higher enzyme activity, but I don't think you can write an equation that would estimate one from the other. It certainly wouldn't be trivial to do so. If you really want to try, though, the common thread behind both types of measurements is thermodynamics. An explanation of that is a bit beyond an answer on a board like this.
Strictly-speaking, this is biochemistry, not bioinformatics.