The vending machine – the first of its kind in the state – holds 54 boxes and is stocked by the detention center