Quasilocal equilibrium condition for black ring