Levi Strauss reported upbeat earnings for its first quarter and boosted its 2024 earnings guidance on Wednesday.