Power-saving error terms for the number of $D_4$-quartic extensions over a number field ordered by discriminant