Linear-response dynamics from the time-dependent Gutzwiller approximation