### Description

Elasticsearch defines the concept of a [feature](https://www.elastic.co/guide/en/elasticsearch/reference/current/get-features-api.html) for the purpose of better managing them when snapshotting/restoring them via the [feature_states field](https://www.elastic.co/guide/en/elasticsearch/reference/current/create-snapshot-api.html#create-snapshot-api-feature-states)

The `shards_availability` health indicator currently diagnoses the condition of indices needing to be [restored from a snapshot](https://github.com/elastic/elasticsearch/blob/main/server/src/main/java/org/elasticsearch/cluster/routing/allocation/ShardsAvailabilityHealthIndicatorService.java#L138) and recommends a [troubleshooting guide](http://ela.st/restore-snapshot)

However, since `8.x` the restore API **must** use `feature_states` instead of specifying systems indices or system data streams as part of the `indices` field.

This proposes the `affected_resources` for the `restore_from_snapshot` diagnosis return the indices that are not part of a `feature` under the `INDICES` type, and a new type `FEATURES`.
e.g. instead of current behaviour
```
"affected_resources": {
  "indices": [
    ".geoip_databases",
    "test_index"
    ]
}
```
we could return:
```
"affected_resources": {
  "indices": [
    "test_index"
   ], 
  "features": [
     "geoip"
  ]
}
```



server/src/main/java/org/elasticsearch/node/Node.java
for (LifecycleComponent plugin : pluginLifecycleComponents) {
            toClose.add(() -> stopWatch.stop().start("plugin(" + plugin.getClass().getName() + ")"));
            toClose.add(plugin);
        }
        toClose.addAll(pluginsService.filterPlugins(Plugin.class));
        toClose.add(() -> stopWatch.stop().start("script"));
        toClose.add(injector.getInstance(ScriptService.class));
        toClose.add(() -> stopWatch.stop().start("thread_pool"));
        toClose.add(() -> injector.getInstance(ThreadPool.class).shutdown());
        
        
        
        toClose.add(() -> stopWatch.stop().start("gateway_meta_state"));
        toClose.add(injector.getInstance(GatewayMetaState.class));
        toClose.add(() -> stopWatch.stop().start("node_environment"));
        toClose.add(injector.getInstance(NodeEnvironment.class));
        toClose.add(stopWatch::stop);
        if (logger.isTraceEnabled()) {
            toClose.add(() -> logger.trace("Close times for each service:\n{}", stopWatch.prettyPrint()));
        }
        IOUtils.close(toClose);
        logger.info("closed");
    }
    /**
     * Wait for this node to be effectively closed.
     */
    
    public synchronized boolean awaitClose(long timeout, TimeUnit timeUnit) throws InterruptedException {
        if (lifecycle.closed() == false) {