The court was told Ryan Witter began selling drugs to fund his own addiction to cocaine and alcohol