On Friday a judge rejected the attempt by Madonna to adopt a second child from Malawi, saying she would not bend the country’s strict residency rules even for a wealthy celebrity.