Cavity-enhanced noncollinear high-harmonic generation