US stocks extend gains as fresh inflation data show wholesale prices falling by the most since 2020