A rare species of beetle has been spotted in Dorset for the first time in more than two centuries