Maximum wave-power absorption under motion constraints