Use XDG_CURRENT_DESKTOP to decide whether to use a header bar

In theory, this is a better approach. In practice, it will make no
difference, but this is what we'll do for the other games (that won't
get custom menu bars and therefore won't check shell-shows-menubar).