In her new book the novelist chronicles 18 days last January, when Egyptians were the people they wanted to be