Bounds on a light scalar in two-Higgs-doublet models