Cristian Solorio, a 28-year-old from Modesto, had harassed the woman for weeks until the night he broke into her house, according to prosecutors