Photon-mediated spin-polarized current in a quantum dot under thermal bias*