A mother has been convicted of killing her four-month-old baby girl who died after being violently shaken.