Dr. Martin Hoeft, Notar und Rechtsanwalt