In his new memoir ‘Free Spirit,’ Joshua Safran turns to the library to understand the Jewish heritage his mother can’t explain