kcm/keyboard: Refactor enum to string map
Small refactor of the static variable and method that maps enum values to strings for switching policies.
Using QStringList instead of const char* items should be generally safer.
Edited by Ismael Asensio