The three-point function in large-scale structure: redshift distortions and galaxy bias