Add metrics for how long a record has been in the queued state. This currently gives us a maximum queue wait duration for each queue type (lsif uploads, indexes, etc).
Test plan
Existing and new unit tests; will verify metrics in dashboards visually in a local instance.