Structure of a bacterial DNA damage sensor protein with reaction product