Fixes another functional test race. disconnect_ban.py bans a subnet with a one second expiry and then immediately tests that the subnet is banned. Due to the #10234, calls to listbanned() now result in a disk flush, which can block on busy systems (for example when running multiple functional tests in parallel).
Fix is to use mocktime to control when the ban expires.