text, inputmethod: Add input_panel_enabled protocol