Magnetic response of a quantum wire of elliptical cross-section in a magnetic field perpendicular to the axis of the wire