Nanowire manipulation on surfaces through electrostatic self‐assembly and magnetic interactions