Thermodynamic structure of a generic null surface in scalar-tensor theory and the zeroth law