The effect of dynamical tides on gravitational waves from eccentric double white dwarfs