Fix nil pointer panic in wrapping validation (#7077)
Fix nil pointer panic in wrapping validation (#7077)

Wrapping validation was deferring the function to audit log before
actually checking if we were sealed or standby, and without having the
read lock grabbed.
kingland/vault,hartsock/vault,rnaveiras/vault,quixoten/vault,kingland/vault,hartsock/vault,hartsock/vault,hashicorp/vault,kingland/vault,hashicorp/vault,quixoten/vault,rnaveiras/vault,kingland/vault,hartsock/vault,kingland/vault,hartsock/vault,hashicorp/vault,quixoten/vault,joelthompson/vault,joelthompson/vault,rnaveiras/vault,quixoten/vault,rnaveiras/vault,rnaveiras/vault,joelthompson/vault,hashicorp/vault,hashicorp/vault,joelthompson/vault,hashicorp/vault