Atomic responses to general dark matter-electron interactions