The data confirm the labor market held up last year despite high borrowing costs, lingering inflation and political uncertainty.