APT: Improving Diffusion Models for High Resolution Image Generation with Adaptive Path Tracing