stats: fix data race when update leader uptime

I don't follow. When are you suggesting that we update the leader uptime?