The effect of surface texture on the kinetic friction of a nanowire on a substrate