Insights into the DNA-binding mechanism of a LytTR-type transcription regulator