session: add #ifdef ENABLE_WAYLAND_SUPPORT guard
I just noticed there's a forward declaration that's not protected
by the enable wayland support definition.
This probably fixes a compiler warning in some configurations.
https://bugzilla.gnome.org/show_bug.cgi?id=744764