The Fedora SDL package isn't compiled with directfb support. I think you'll have to rebuild it (or build a completely separate local version in /usr/local or /opt) in order to get what you want. See this bug report (although dosbox uses SDL instead of SDL2).
To do this, you just need to add --enable-video-directfb
to the SDL ./configure line when building.