Evolution of clustering length, large-scale bias, and host halo mass at 2 < z < 5 in the VIMOS Ultra Deep Survey (VUDS)