Horizontal gene transfer-mediated bacterial strain variation affects host fitness