That all looks good. What version Citra are you on?
If you open Citra and just run a game there does hitting either Ctrl+Q or Alt+F4 close Citra?
Can you try below. I doubt it is the AHK script since even the script to send Fullscreen is not working. But worth a try.
ESC::
{
SetTitleMatchMode, 2
WinWaitActive, citra
Send !{f4}
break
}