rtp2/jitterbuffer: check for event query earlier
If a serialized query arrives (e.g. allocation) and the jitterbuffer has never received a packet, then jitterbuffer would never forward the serialized query resulting in a hang.
Fix by forwarding queries/events before the conditions that require the first packet to arrive.
Also update unit test to check for this scenario.