But your photo looks like the second picture below (slip joist wye with an extra little flanged tail piece), rather than the first one (direct flanged wye). Clearly the second design forces the branch inlet to be lower than the expanded portion at the top of a slip joint wye. Of course, that doesn't necessarily mean the branch inlet on a flanged tailpiece is going to be higher like you need. But if you look at a bunch of flanged tailpieces, you can try to get the highest inlet that's available.
After you do that, if necessary the other thing you can do is use a reversible p-trap, which will make the trap seal depth 4" rather than 2" and raise up the outlet. Definitely a second choice option, but better than the corrugated option.
Cheers, Wayne
View attachment 97183
View attachment 97185