Lewis Hamilton says he has "still got it" after a disappointing qualifying performance at the Qatar Grand Prix.