In Matthew Lopez's new play, a free-spirited woman and her reclusive gay neighbor form a sustaining friendship.