if_wg: avoid null ptr deref
While we're here, sync up with OpenBSD and don't use a keypair !kp_valid
MFC after: 3 days