build: Prepare building a Qt6 version of pinentry
* m4/qt.m4: Rename to m4/qt5.m4. * m4/qt5.m4 (FIND_QT): Rename function to FIND_QT5. (PINENTRY_QT): Rename module variable to PINENTRY_QT5 and associated variables to PINENTRY_QT5_*. (MOC): Rename tool variable to MOC5. (RCC): Rename tool variable to RCC5. * configure.ac: Rename local variable pinentry_qt to pinentry_qt5. Call FIND_QT5 instead of FIND_QT. Update variables to substitute to new names. (BUILD_PINENTRY_QT): Rename conditional to BUILD_PINENTRY_QT5. (PINENTRY_QT): Rename define to PINENTRY_QT5. * Makefile.am, qt/Makefile.am: Update renamed variables. * m4/Makefile.am (EXTRA_DIST): Update renamed file.
In preparation for allowing to build pinentry for Qt5 and Qt6 a few
autotools variables are versionized for Qt5.