Have not tested on Fedora but seems like weston has a feature to rotate screen on wayland you can see that here https://wiki.archlinux.org/index.php/wayland thanks to the Arch Linux for the doc.
Ask Fedora is community maintained and Red Hat or Fedora Project is not responsible for content. Content on this site is licensed under a CC-BY-SA 3.0 license.