PixInsight uses (and requires) OpenGL to render its graphical user interface on all supported platforms. The PixInsight core application depends on the
Qt library for most of its graphics implementations, including the user interface, so we'll support Metal when Qt supports Metal. Hopefully this will happen in the near future since Qt is a critical support library for thousands of free and commercial applications.
Anyway, I seriously doubt that Apple decides to cease to support OpenGL in macOS, even in the long term. Thousands of applications that depend on OpenGL run nicely on macOS, so causing them to cease to work just for this reason is quite absurd.