Global regularity for the 2D magnetic B\’{e}nard system with fractional partial dissipation