Kenya’s election took an ominous turn on Wednesday as violent protests erupted in the capital and elsewhere after opposition leader Raila Odinga alleged fraud, saying hackers used the identity of a murdered official to infiltrate the database of the country’s election commission and manipulate results.