Existence of global attractor for a nonautonomous state-dependent delay differential equation of neuronal type