Actually, they don't contract leprosy because they do not develop the disease. They do get infected, and they do (can) become carriers of the mycobacterium. A fine distinction, but an important one we should all remember. There is a world of difference between getting an infection, and developing a disease.