In plain words
A goal state is what the world looks like when the player has done what they set out to do. It might be set by the game or chosen by the player. When the game treats reaching it as victory, people call it a win state.
See it
In chess the goal state is checkmate, and the rules spell it out. With a box of LEGO nothing is spelled out. One kid’s goal state is the spaceship on the box, and another’s is the tallest tower in the house. Both are playing properly.
Why designers care
Deciding who sets the goal is one of your earliest and largest choices. A goal you supply gives direction and a clear finish. A goal the player supplies gives ownership and many different ways to play. You can also offer several and let people pick.
Common mix-up
A goal state is different from a reward. The goal is what the player is aiming at. A reward is something the game hands over along the way.