Multigraded regularity and the Koszul property