Does the Catalina Music app preserve star ratings from iTunes?
Yes, but it's disabled by default. I had the exact same question and found the answer here (screenshots included):


  The Music app won’t show the iTunes Store or your star ratings by default. You can re-enable these features by clicking on Music > Preferences then enabling “iTunes Store” and “Star ratings” on the General tab.