Both of these questions are correct, but the first version sounds much more natural, and the second one would be used only in a very formal or stylized context.
This is true for negative yes/no questions in general. They normally begin with a contraction of be or the auxiliary verb + not, as in the examples below.
However, in formal or stylized contexts, or to place strong emphasis on the negative, not can be placed after the subject, as in the examples below. Keep in mind that this formation is rare.