top_hits aggregation: Fail with a parse exception if `top_hits` agg is defined under a `nested` agg.

PR for #8668