The wounded soldier could barely walk.

Literal

Wounded soldier [topic-は] hardly walk-could-not.

ほとんど歩けなかった — ほとんど + potential negative = 'could barely.' 負傷した modifies 兵士 as a relative clause.