Berthold Knöpflmacher, Advokat in Leitmeritz