Newton–Okounkov Bodies over Discrete Valuation Rings and Linear Systems on Graphs