Ian Bailey wins Irish trial for World Mountain Running Championships