Baby Mariam plunged from a sash window in her family’s third-floor flat in Westminster, a court has been told