Disable validation for DefaultQueryMetadata created in ReplaceVisitor

Most SubQuery implementations use non validating QueryMetadata instances. It is safer to use non validating subquery instances also in ReplaceVisitor.