Standing Waves for Nonautonomous Klein-Gordon-Maxwell Systems