Cannot leave iOS 12 beta testing program on iPad
I ended up downloading the beta profile again from Apple Developer Downloads, deleting it and restarting the device. This made the beta update notification disappear.

For some reason, the notification badge did not disappear, so it still shows that there is an update available - both in General/Software Update and next to the app icon.