display: Don't call x11 backend code when running native

https://bugzilla.gnome.org/show_bug.cgi?id=729044