Question 24Integer $a$ and real number $x$ satisfy $x^2-ax+1=0$. What is the minimum value of $\left|x^4+\frac1{x^4}-2019\right|$?