Photoconductance of quantum wires in a magnetic field