In a genetic study, four species (W, X, Y, and Z) are analyzed for similarities in their gene sequences. If species W shares the highest percentage of homologous genes with species X compared to Y and Z, which species is most closely related to species W?