Add a warning if the local optimizer does not support walltime limits. Check using https://github.com/ICB-DCM/pyPESTO/pull/1638 and isinstance-OptimizerFactory.