Selective-Memory Meta-Learning with Environment Representations for Sound Event Localization and Detection