De Giorgi’s approach to hyperbolic Cauchy problems: The case of nonhomogeneous equations