Bounded Sobolev norms for Klein-Gordon equations under non-resonant perturbation