The officers placed a pillow under 14-year-old Ryder’s head and also cooled him down with a hose