Optimal control for feedback cooling in cavityless levitated optomechanics