text: Title: Bug when calling GLMInfluence(mdl).cooks_distance with V0.14.4
  Body: #### Describe the bug
  
  When calculating Cook's distance on GLMs, statsmodels throws an error with this message
  
  'GLMResults' object has no attribute 'get_hat_matrix'
  
  The problem is in line 1358 of \statsmodels\stats\outliers_influence.py. The line reads
  
  ```
  return self.results.get_hat_matrix()
  ```
  But it should read
  
  ```
  return self.results.get_hat_matrix_diag()
  ```
  
  I updated that line, and everything now works smoothly. 
  
  
  #### Expected Output
  
  The Cook's distance instead of an error message. 
  
  #### Output of ``import statsmodels.api as sm; sm.show_versions()``
  
  <details>
  
  INSTALLED VERSIONS
  ------------------
  Python: 3.11.7.final.0
  
  statsmodels
  ===========
  
  Installed: 0.14.4
  
  Required Dependencies
  =====================
  
  cython: Not installed
  numpy: 2.1.2
  scipy: 1.14.1
  pandas: 2.2.3
      dateutil: 2.9.0.post0
  patsy: 0.5.6
  
  Optional Dependencies
  =====================
  
  matplotlib: 3.9.2
      backend: module://matplotlib_inline.backend_inline
  cvxopt: Not installed
  joblib: Not installed
  
  Developer Tools
  ================
  
  IPython: 8.28.0
      jinja2: 3.1.4
  sphinx: Not installed
      pygments: 2.18.0
  pytest: Not installed
  virtualenv: Not installed
  
  </details>