Should I switch to a vertical exhaust fan to avoid 90 degree bends?
See sketch below.

A possibility of using a adjustable 90° fitting would do you right in this scenario and you could get the identical roof pitch in that fitting. So this would be a compromise, being less than that stated "stay away from 90 bends".

These would let you make an angle equal to your roof's pitch. 0° to 90°