A Radio and Optical Polarization Study of the Magnetic Field in the Small Magellanic Cloud