A Search for Resonance Decays to Lepton+Jet at HERA and Limits on Leptoquarks