wal: record node id at the head of WAL file

So etcd can know its id when it restarts.
"unexpected nodeID %d, want %d"