Optimize throttle middleware by avoiding unnecessary timer creation (#1011)
- Only create time.NewTimer() when actually needed to wait
- Reduces allocations from 7 to 4 and memory usage by ~54%
- Improves performance by ~50% in high-throughput scenarios