How can I configure an absence type to include line managers of relevant assignments for approval?

You can configure approvers from the Absence Record Maintenance section of the Absence Type setup page.

For employees with multiple assignments, select the Manager of all relevant assignments option from the approver list. This will send the absence approval request to all the line managers of relevant assignments