Ascending runs in permutations and valued Dyck paths