Exchange and correlation effects on density excitation spectra of metallic quantum wires at finite temperature