I can’t fully answer where they are stored, but in this post: DataviewJS Snippet Showcase - #269 by holroy, I’ve modified a previous script by moonbase59, which lists all the hotkeys, and is searchable.
It does include Templater hotkeys, as well as default hotkeys. So it seems to be complete.
Hope this helps.