Woman allegedly held captive by ex-boyfriend since May is rescued after leaving notes in public bathrooms