In the absorbing “Compulsion,” the famed girl’s Holocaust diary changes the life of an American writer.