Here is one thing that may help, but you will have to slipstream the driver, add it to your Windows XP setup disc or load it during text mode setup.
Paragon Software GPT Loader for XP
https://www.paragon-software.com/technologies/gpt-loader/#I did some testing with the GPT loader on XP for use with Windows PE. It works fine for SATA or IDE drives but not for USB drives.
The other issue you may have to deal with is that XP and Windows 7 use BIOS INT 10 calls to detect and set VGA modes during part of the startup. If your UEFI firmware does not have the Compatibility Support Module (CSM) to support BIOS calls, then you may have to do additional work. The problem is that without INT 10, the OS sits at the moving bars splash screen forever. To get around that problem you have to disable the VGA driver / service and also include a usable graphics driver for your actual graphics device. People have done that with Windows 7, but I haven't looked to see if anyone did that for Windows XP.
There are other basic booting issues with XP. Most EFI systems are 64-bit and 64-bit support for XP is fairly recent. You may have issues getting 64-bit drivers. Windows XP uses NTLDR, NTDETECT and BOOT.INI to load the OS. You may have to actually use a Windows 7 or Windows 10 bootlader and maybe even WINLOADER.EFI from a newer OS. NTDETECT requires a BIOS and NTLDR probably assumes a BIOS as well. You may be able to get around these problems by putting some of your Windows XP boot and loader files on an MBR disk. A hybrid MBR/GPT might work, but that has confused Windows whenever I've tried it.
If you really want to run XP under EFI, you might be better off to use a bare metal hypervisor and virtual machine that boots in EFI 64-bit mode and then runs a 32-bit Windows XP VM. I still do Windows XP software development on occasion and some of my embedded cross-compilers only run on XP. I just use a Virtual Machine because newer computers lack drivers for XP even if they still have a BIOS or CSM. You've got Microsoft, VMWare and Virtualbox as choices for running Virtual Machines, but I doubt VirtualBox supports bare metal.
i also don't know if NTVDM (for 16-bit apps) will work on 64-bit XP. NTVDM does not work on Windows 7 64-bit so that cannot run 16-bit apps that are used to install some older software. I got around the setup problem by setting up applications on a 32-bit OS and then copying the files. I also had to use regsvr32 to register OCX and COM dll files for the copied applications.
VirtualBox on Linux runs 32-bit XP just fine in a virtual machine if you don't want to mess with another version of Windows.
I hope some of that helps you.