Effective action and linear response of compact objects in Newtonian gravity