raft: make State a protobuf type

You can remove the type in the second entry.