Evolution of Nanowire Transmon Qubits and Their Coherence in a Magnetic Field