Paraphotons and axions: Similarities in stellar emission and detection