A minimization approach to hyperbolic Cauchy problems