kcm_keyboard: Fix LayoutMemoryPersister
When porting to KF6 in !1392 (closed) I broke LayoutMemoryPersister
and no one noticed
Also kcm_keyboard
tests have been commented out for 10+ years... I fixed layout_memory_persister_test
but didn't keyboard_daemon_test
FYI: @nicolasfella