Gets the maximum time-in-queue for messages in the TX queue. The time-in-queue is tracked for direct transmissions only and is measured as the duration from when a message is added to the transmit queue until it is passed to the MAC layer for transmission or dropped. The collected statistics can be reset by calling `ResetTimeInQueueStat()`.