Relativistic Interaction of Long-Wavelength Ultrashort Laser Pulses with Nanowires