WASHINGTON — Erik Prince, the founder of international security giant Blackwater Worldwide, is secretly backing an effort by a controversial South African mercenary firm to insert itself into Somalia’s bloody civil war by protecting government leaders, training Somali militias, and battling pirates and Islamic militants there, according to Western and African officials.