txscript: Remove unused extractPubKey.
txscript: Remove unused extractPubKey.

This removes extractPubKey since it is no longer used by anything in the
package.

This is part of a series of commits to remove all code related to
standard scripts from txscript.

decred/dcrd,decred/dcrd