The queen usually performs orientation flights before going on her mating flight so she should know where she came from. I am not sure what style of hornet trap you are using though.
I thought it might have been one of these asian hornet traps that you were talking about https://www.youtube.com/watch?v=uTFeJa3o47E
Don't worry, the queen can easily fit through the punched metal strips