Well, no, technically it is not wrong as long as you either use the logical equivalence symbol (<=>) in all your steps or you rewrite your entire thing the right way around and state "via backwards reasoning".
Generally, you are supposed to solve from a known statement to the given, as, if you do it via your current method (i.e. a+b>sqrt(2ab) = (a-2sqrt(ab)+b) = (sqrt(a)-sqrt(b))^2>=0), it is kinda invalid as you used the information you were given first.
You generally don't want to use the information you are given to prove something (i.e. Oh, because the question says the vectors are perpendicular, therefore, the dot product is 0, therefore, the vectors are perpendicular is just an extreme example of circular reasoning), but you generally want to start from a known statement.
But hey, how would you know what the known statement is?
a) Practice enough questions that you know how to prove the 2nd case Cauchy Inequality (otherwise known as AM-GM inequality) by just starting from (sqrt(a)-sqrt(b))^2>=0.
b) Or, do backwards reasoning. (a.k.a. Do your original method, then rewrite it in reverse (as if you started with (sqrt(a)-sqrt(b))^2>=0.), and rub out your original method).
Hopefully this is clear enough, otherwise, feel free to ask me to elaborate!