Bill Tindall, E.Tn.
I have used latex wall paint as primer under oil based paint. But a gloss or semigloss trim paint may be a different situation. In any case if you etch/clean with trisodium phosphate it will stick fine. If in doubt test it. Paint a small area. Dry. Scratch some cross scratches. Stick on some masking tape and then peel it off. If the paint stays on the wood and not the tape you have excellent adhesion.