The debate took place in Texas, which has been shaken by mass shootings; Beto O’Rourke of El Paso made a passionate plea for mandatory gun buybacks.