sort python imports in p2p_* functional tests
Summary:
This is preparation work to add a new linter that will enforce this new sorting.
The command used was:
isort --profile=black --line-length=79 test/functional/p2p_*
See D10200 for the rationale regarding --profile=black --line-length=79
Test Plan: ninja check-functional
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D10203