Gating out sensory noise in a spike-based Long Short-Term Memory network