Generalizable density functional theory based photoemission model for the accelerated development of photocathodes and other photoemissive devices