I had similar keyboard & trackpad bluetooth disconnection problems with my Mac Mini 2018. Also my iPhone XR & iPad Pro wouldn't connect via AirPlay on Catalina, but worked OK with an old iMac on Mojave. I made two changes which fixed these problems:
- I moved my cordless phone (2.4 GHz band) to about 4 feet away from the Mini;
- I split the single router SSID into one for 2.4GHz and one for 5 GHz and connected all my Apple devices to 5 GHZ WiFi with fixed IP addresses.
I haven't had a recurrence of either problem since then.
- I moved my cordless phone (2.4 GHz band) to about 4 feet away from the Mini;
- I split the single router SSID into one for 2.4GHz and one for 5 GHz and connected all my Apple devices to 5 GHZ WiFi with fixed IP addresses.
I haven't had a recurrence of either problem since then.