A degree bound for codimension two lattice ideals