[electrum] use bytes for pubkey in keypairs arg for tx.sign()
Summary: Depends on D14568
Test Plan: python test_runner.py
Reviewers: #bitcoin_abc, bytesofman
Reviewed By: #bitcoin_abc, bytesofman
Differential Revision: https://reviews.bitcoinabc.org/D14569