text-input: Add preedit_shown flag
Some clients don't show preedit text inline, so the compositor may want to display the preedit text in a popup window instead.
Some clients don't show preedit text inline, so the compositor may want to display the preedit text in a popup window instead.