Paulo Topa, a lawyer, was detained in Porto as part of an investigation into the alleged misappropriation of funds.