Long-range transverse Ising model built with dipolar condensates in two-well arrays