Add no-adhoc-sleep lint rule and migrate ad-hoc sleep promises
Rebase the change from #96841 onto the current canary branch and preserve canary’s segment-cache import cleanup while adopting the canonical wait helper.
Co-authored-by: Will Binns-Smith <755844+wbinnssmith@users.noreply.github.com>