The main reason is that the first example is not correct.
It would be 'worst of all', not 'worse of all'
('worse' is comparative, 'worst' is superlative).
'The' should be included in both these cases, for superlative usage.
'Your woodwork was the worst of all', 'The 4th of July was the hottest day'
However, you are correct: for comparative we don't use 'the' while for superlative we do.
Comparative examples:
- 'Your woodwork was worse than all the others'
- 'The 4th of July was hotter than the previous week'
It is similar to the difference between 'the' and 'a'. 'The' is 'definite', 'a' is 'indefinite'.
Using a superlative is all about singling out a particular item for attention, which requires being definite about it. Comparing things is less definite
('These ones are hotter than those ones, but some other ones are even hotter')
By the way, there is of course a different and more specialised construction where you do use 'the' with a comparative e.g. 'the hotter, the better' to mean 'the more that something is hot, the better it is also'
However, outside of that special case, you would normally only use 'the' with a comparative if your 'the' was actually referring to the noun, rather than the adjective ('The hotter water is used to warm the pot' -> 'the' is already needed in the simpler sentence 'The water is used to warm the pot', so it doesn't have anything to with 'hotter').
My answer is semantic, not grammatical. The issue is one of meaning, not of rules of syntax.
If you intend that there is one unique correct answer then "the right answer" is the correct meaning since the noun "answer" is fully determined by the adjective "right".
Similarly, there are usually many incorrect answers: so "That's a wrong answer" is correct and meaningful. You are wrong to say that this is not grammatical. Similarly, you can use "the perfect car" to imply that the car is fully determined by its perfection, but you can also use "a perfect car" to imply that there are others that are equally good.
So in all the examples you give, both "a" and "the" are grammatically possible. A native speaker would intuitively choose an article according to the meaning that they want to give.
Generally, adjectives that are incomparable will be more determining. If you can't be "righter" or "less right", then a noun will be fully determined by the adjective and so the article chosen will be "the".
Best Answer
The definite article is required before highest, as superlatives need a definite article before them.