Ryu-Takayanagi formula for symmetric random tensor networks