SQM, the world’s biggest lithium producer by market value, boosted its sales guidance for this year and struck a note of optimism on prices after posting a 28% slump in second-quarter core earnings.