It suffices to show that any proper subspace M of X is closed, since if M is not proper the result is trivial.
I am unsure how to approach this proof. Contradiction seems a little messy, as supposing M is not closed implies M is i.) open or ii.) neither closed nor open. Any help would be much appreciated.