Both will be understood, and are commonly spoken, but the first is grammatically wrong.
"Rather" is correctly used with an infinitive, similar to subjunctive, like this:
"I'd rather swim"
"I'd rather not ask questions"
To say "I'd rather swim" with "you" as an implied subject, you would say:
"I'd rather you swam."
Your first sentence violates this natural structure by forcing "I" and "you" to compete for being the subject. This can be fixed by saying
"I'd rather THAT you not ask questions"
which works because "that you not ask questions" is a good clause in subjunctive mood.
If you wanted to state the opposite, you would say
"I'd rather you asked questions" (in which "asked" is subjunctive).
Your second sentence is fine because "didn't" looks like subjunctive. Past tense can look like subjunctive for all verbs except "to be" which has the special form "were".