Entanglement generation in relativistic cavity motion