The couple, who started dating in 2017, has decided to end their relationship so that 'The O.C.' alum could focus on her career