make-event-names: Fix determinism issue
Patch from https://lists.freedesktop.org/archives/input-tools/2021-February/001560.html
The order of dict values is not deterministic in python leading to differing header file generation which results in differing build output for the same configuration. Sort to remove this inconsistency and make the output reproducible.