Role of the final-state interaction and three-body force on the longitudinal response function of 4He