Brad Pitt's efforts to have details about his custody dispute with Angelina Jolie sealed have failed.