Influence of nonequilibrium phonons on exciton luminescence in CdTe/CdMnTe quantum wells