On the planarity of infinite 2-complexes