Potato, Squash and Goat Cheese Gratin