At least 23 people have been killed and more than 100 injured in Sri Lanka's deadliest prison riot in over five years.