The federal government must hold the states and territories to account in upholding the rights of children in youth justice, a senate inquiry has been told.