Am I being a "mean" instructor, denying an extension on a take home exam
You give a lot more information about the student than seems relevant to the question. That the student is applying to MIT for instance is neither here nor there.
That your student is in high school may be slightly relevant. It feels awkward to have a high school student in a college/university course when they are not doing well, because usually students (especially in mathematics) take such courses because they are too advanced or gifted for their high school programs, but that does not automatically make them prepared for college/university standards. If you are an inexperienced instructor (and I think you are: more on that later) then it is a good idea to talk to colleagues to get some perspective on how high school students are typically dealt with. This may well be different at a community college than at a research university, by the way. I will say that my attitude in dealing with high school students in (research) university math courses is: if there are any special rules or dispensations that apply to them, these should be made clear at the time of their enrollment in the course. In the absence of such rules, I try to treat high school students identically to all other students (keeping in mind that "all other students" is a large and inhomogeneous group). I would certainly avoid talking to them in a way that would not be appropriate or respectful for an adult university student. E.g. you write
I think he lacks maturity and I told him if he wants to go to MIT that he should act like an MIT student and quit complaining and get his work done.
This sounds rather condescending to me. As I said above, that the student wants to go to MIT is really not relevant to your course, and dragging that into the conversation is unhelpful. By the way: telling someone to "act like an MIT student" presumes some involvement / affiliation with MIT on your part. If you don't have that, what you say can come off as obnoxious. I have taken classes at MIT (as a Harvard PhD student) and have some colleagues on the faculty there (for instance, I spoke there last month). But I would not tell anyone to "act like an MIT student": while MIT students are in the aggregate very impressive, they are people, not stereotypes, and in my experience evince a wide range of behavior, including complaining.
Coming back to the matter at hand: honestly, what strikes me most is the way you are teaching your course. Giving an exam which is too hard -- even much too hard -- is something that instructors do often, and it is not necessarily a problem but needs to be dealt with very carefully. Turning an in-class exam into a take-home exam after it has been taken in class seems like a prohibitively poor idea to me. If you are not sure about why, you may want to ask that as a separate question, since it would be helpful to get a range of responses about this. By the way, I also find
"give thanks, the exam is take-home now and due Wednesday".
to be a bit obnoxious. A week after an exam was given, a student is expecting to receive their graded exam back again. Coming into class on a Monday and learning that they are getting a "pop take-home exam" is something that a wide range of college/university students would not be thankful for. Most students are very busy with a range of activities (academic, extracurricular, work, health, family...), and very busy people plan their schedules in advance. Giving the exam back without a grade, asking the students to do it by the next class, and then forgetting to communicate that to students who missed that one class, is not great behavior on your part: honestly, it looks a bit lazy to me. You say that you want to post the solutions in time to have the students study for the final. That's good. However, remember that you were the one who created the time crunch in the first place by making an exam you were so unhappy with so as to mess with it later.
Okay, what do I recommend?
You won't want to hear this, but: giving a take-home exam in an undergraduate math class in 2016 is probably a bad idea full-stop. As a participant on math.stackexchange, you know well that your students can get solutions to even a way-too-difficult undergraduate differential equations class rapidly without leaving home. I have colleagues at SLACs who feel confident that the majority of the students take the honor code seriously enough not to do this and feel that the cheating by a small minority of students is more than offset by the gain in learning from students who work through a carefully crafted take home exam. When I was a postdoc, I had the experience of students cheating on a take-home exam (at a research university) and saw the poisonous effect their higher grades had on the morale of the other students, so for me even a small minority of cheaters is a high price to pay. But this is not a carefully crafted take home exam: it's a too-hard in class exam. And moreover it's a take home exam that was already given as an in-class exam. Don't you think that many of the students spoke to each other about the exam afterwards? And that a few of the students may have been interested enough to look up the answers online and/or talk to outsiders (e.g. more advanced students, tutors, instructors) about it? I see no way to guarantee academic integrity in this situation.
You could make a different exam for your student and all other students who want to take it / can't solve the take home according to the deadline(s) that you rather precipitously announced. Alternately, you could admit that the assessment coming from this midterm is not the greatest and just offer to drop everyone's lowest midterm grade. In fact I usually drop the lowest midterm grade in my undergraduate classes conditionally on satisfactory performance on the final. (And in fact I often don't announce it until near the end of the course, because I want all the students to take all the midterms.) I find that students are very happy with this, and since I too often give exams that are a bit more difficult than I had wanted, this ends up with course grades in the range that I want.
I think he lacks maturity and I told him if he wants to go to MIT that he should act like an MIT student and quit complaining and get his work done.
The issue here is that you unpredictably added a large amount of extra work into the student's schedule that had to be done in a short time. What I would expect of a mature student taking eight courses is some careful budgeting of time to make sure there was enough time to do everything. Suddenly learning on Wednesday of a new, high stakes, difficult assignment due on Friday would throw that into disarray.
I don't see anything immature in a student complaining about a last minute syllabus change which makes things substantially worse for them.
Sometimes mistakes happen, and I have to make changes to the course structure in the middle of it. I think it's my obligation in that case to make sure that every single student is at least as well off as before the change; that usually means a lot of extra work on my part, and making some individual accommodations or having several options, because different versions will be good for different students.
The other answer are nice and true, but somehow nobody seemed to address the failure (and not meanness!) of the OP.
Summary (without offence! but with honesty):
You created a bad exam, it was too hard for the class. You did not do a good job in the first place but creating exams can be hard so this can happen. It still is your responsibility to create fair exams and it is you who did not achieve this. Anyway, this was an exam, you have to give marks and may think of ways for the students to compensate that mark. Period.
Then you handed out the exam for home-work. A homework exam without announcing it is just not possible at all. What if a student is working in the evening, is somewhere else, has other plans... imagine, you would come to class and get told like: Here is your ticket, you have to go on a two-day trip. Now! Or you will have a very bad mark. That is a complete NO-GO.
You told to upload the information on the webpage as announced before. I would actually even write an e-mail to be sure. You did not do either of this (or too late). For a student missing the Monday class, being sick or whatever, he could rely on the fact that you will announce it online. Which you then did not. You screwed up again and giving that student more time (to compensate your mistake of too late announcing it) is the least you could do. If he, on the other hand, knows about this from his fellow students already, he has an unfair advantage. But you don't know about this. Anyway, this is way beyond any legal or fair grading and by uploading the information too late, you crashed any possibility of making this exam count.
So what to do: Mark the exam written during the announced time. Marks will probably be bad, announce a second exam. Forget about the take-home exam, people will cheat! Mostly those which are bad at class and therefore they would get better marks than the good ones who did not cheat. What a motivation!
You're not mean. But you screwed up. Don't blame a single student for this.