Nonlinear hyperbolic problems modelling transition dynamics with memory