Adaptive equalization of acoustic transparency in an augmented-reality headset