Long-time existence for semilinear wave equations on asymptotically flat space-times