src: extract common context embedder tag checks
Extract common context embedder tag checks to ContextEmbedderTag so that verifying if a context is a node context doesn't need to access private members of node::Environment.
Refs: https://github.com/nodejs/node/pull/44179 Refs: https://github.com/nodejs/node/pull/44252