Gets the nostr public key from a key package event.
The key package event (kind 443 or kind 30443)
The nostr public key (hex string)
Error if the credential is not a basic credential
Gets the nostr public key from a key package event.