raft: make State a protobuf type

will do.