Levi Strauss has surpassed analysts’ expectations with strong quarterly results, but warns of a challenging year ahead.