DirectX 12 being listed in Windows does not necessarily mean your GPU supports it. To use DirectX 12, your graphics card must be compatible with it and meet the required hardware feature levels.
Please press Win + R, type dxdiag, and press Enter.
Open the Display tab and share a screenshot of that screen, this will help check your graphics card and its supported features.