Child marriage came to light when a family member uploaded the wedding photos on a social media group, officials said