Wetting dynamics of a sessile ferrofluid droplet on solid substrates with different wettabilities