Separating weather and climate using a spatially-scalable precipitation model with optimized subseasonal-to-seasonal statistics