The sentence that uses a noun clause as its subject is:
"Whoever finds the treasure gets to keep it."
In this sentence, "Whoever finds the treasure" is a noun clause functioning as the subject. The other sentences do not use noun clauses as their subjects.