I had a very similar issue but it did not involve High Sierra. I am using Mojave and everything has been fine until suddenly today, about ten days after updating, the trackpad right click stopped working.
I ended up rebooting (cold start) and the problem was gone.
I don't think it was related to the update. I did just use my Magic Mouse for the first time on this computer yesterday and inadvertently left it turned on. It kept reconnecting and disconnecting all on its own for a while this morning from another room in the house. When I did the shut down, I turned off the mouse.
After the reboot, no more problems. I don't know if the problem was related to the mouse or not. I just know that after rebooting and turning off the mouse -- no more problems with right-click on the trackpad.