Ultimately, it doesn't seem worth the risk given that 64-bit AutoHotkey doesn't appear to be subject to removal of the hook.
On the Discord server @geek, @ShambleS1980, @luigislam and I spent a couple hours fruitlessly helping a user with what appears to be exactly this issue. It might be worth re-examining the x64 keyboard hook.
Aforementioned Discord thread: https://discord.com/channels/115993023636176902/1195022953516118106/1195022953516118106
Statistics: Posted by Qriist — 41 minutes ago