Electronic levels and recombination lifetimes for quantum wires in a magnetic field