Zeros of linear combinations of Dirichlet $L$-functions on the critical line