Modeling a trait-dependent diversification process coupled with molecular evolution on a random species tree