Hierarchical model for the scale-dependent velocity of waves in random media