[clang][AST] Teach `CXXTypeidExpr::isMostDerived` to use `isEffectivelyFinal` (#196544)
Resolves #196476.
When a class is marked final, typeid on references to that type can be
resolved at compile time since the most-derived type is statically
known.