Single-cell motion of magnetotactic bacteria in microfluidic confinement: interplay between surface interaction and magnetic torque