FeatureFlagUtil reads the feature flag value from mongod, but featureFlagUnifiedWriteExecution is a mongos feature flag.
The feature flag is an IFR flag and is not FCV-gated, so it's value is not uniform across the cluster, so this can cause failures in a multi-version suites where a mongod can report flag as off, while it is actually on on a mongos.