Hubble Space Telescope and Palomar Imaging of GRB 990123: Implications for the Nature of Gamma-Ray Bursts and Their Hosts