Time-dependent density functional theory of coupled electronic lattice motion in quasi-two-dimensional crystals