Theory of the effective Seebeck coefficient for photoexcited two-dimensional materials: Graphene