Magneto-Josephson effects and Majorana bound states in quantum wires