Send panel input purpose.

gnome-shell can get input purpose and disable IME with password mode.