Make Win32-function `GetKeyboardLayoutName` work in Python

GetKeyboardLayoutName() should give the current KLID… but sometimes it fails. Here’s how we go from confusing docs to a working solution.