A capacitor is really really the wrong answer.
You need to find out why the system is drawing so much current that it is blowing the fuse. Either your car has faulty wiring, and the trailer is pushing it over the edge, or the trailer wiring is faulty.
What is the resistance of the trailer brake circuit?
What is the resistance of the car brake circuit?
Both circuits should be about 3-4 ohms, assuming that you have a pair of 21W bulbs in the circuit.
With all four bulbs the system should be drawing 6 or 7 Amps, and no more.
Simon.