Equilibrium effects on the structure of island divertor and its impact on the divertor heat flux distribution in Wendelstein 7-X