Creamy Potato Stacks with Garlic, Thyme, and Parmesan