The [C II]-SFR correlation in dwarf galaxies across cosmic time