Encode this extended key into its 74 byte BIP32 representation (mirrors CExtKey::Encode / CExtPubKey::Encode). Note that nChild is stored big-endian, as in the C++ implementation.