I've noticed this in the last month/two - on my 2018 MBP as well - my Logitech MX keys/mouse will both randomly disconnect for 5 seconds and then pair back, this wasn't happening before.
They changed the firmware so that it can "seamlessly" move between devices but 1) it's not seamless at all - I actually disabled the new behavior and 2) I'm pretty sure something else changed regarding Bluetooth because switching between devices manually is slower and less reliable than it used to be before, and I bet this change is also responsible for the issue with input devices that you're seeing.