Constant monitoring of sea conditions using 5G technology is set to be trialled off the Dorset coast.