Visibility gate: defers traffic for hidden windows and drains it on return.
Queue an envelope; returns false when the defer queue is full.
Return every deferred envelope for a window, oldest first, and clear the queue.
True when envelopes of this class should wait until the window is visible.
Visibility gate: defers traffic for hidden windows and drains it on return.