Efficient identification of informative features in simulation-based inference