Lattice Boltzmann method for thermomagnetic convection of paramagnetic fluid in square cavity under a magnetic quadrupole field