Shares of British luxury carmaker Aston Martin Lagonda surged, as the company’s positive 2023 guidance offset pretax losses last year.