Improved Kato’s lemma on ordinary differential inequality and its application to semilinear wave equations