This PR modernizes legacy typedef declarations to using aliases in src/txmempool.h, src/torcontrol.h, and src/versionbits.h.
This change follows the C++ Core Guidelines recommendation to use using declarations instead of typedef for type aliases, improving code readability.
There are no functional changes in this PR.