Maple Pork Loin with Apples and Onions