Moderate deviations for the determinant of Wigner matrices