Can I get leptospirosis from being near someone who is infected?

No. Mostly infected by contact with cuts, scrapes, or nose or mouth contact with infected animal urine or water or soil contaminated with infected animal urine. There are cases of person to person spread with sexual contact and breast feeding, but not just from being near someone.