You can normally use the uninstallers for the most recent version of tools. You should find installer / uninstaller links here:
https://wiki.mobileread.com/wiki/Kindle_Touch_Hacking
Otherwise, it may be easier, faster, and safer to just flash a pristine 5.1.2 image using the "simple debrick" method, rather than trying to uninstall all modifications.