Molecular dynamics study of nanoscale droplets impacting on textured substrates of variable wettability