Method GetLeaderSnapshot()
Returns (IsLeader, Epoch, LeaderNodeId) as ONE consistent snapshot — use this instead of
reading the three getters separately when the values must belong to the same election (e.g.
epoch fencing on assignments).
public LeaderSnapshot GetLeaderSnapshot()